package com.tjetc.service;

import com.tjetc.domain.News;
import com.tjetc.utils.PageInfo;

import java.util.List;
import java.util.Set;

public interface NewsService {

   List<News> findBySid(int sid);

   Set<String> listHotNews();

   boolean addScore(int id);

   int getCount(String content);

   List<News> list(String content, PageInfo<News> pageInfo);

   boolean del(int id);

   boolean add(News news);

   boolean update(News news);
}
